package com.ruoyi.oa.service;

import com.ruoyi.oa.domain.OaHumanRecruit;
import com.ruoyi.oa.domain.vo.OaHumanRecruitVo;
import com.ruoyi.oa.domain.bo.OaHumanRecruitBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 招聘申请Service接口
 *
 * @author ruoyi
 * @date 2023-06-19
 */
public interface IOaHumanRecruitService {

    /**
     * 查询招聘申请
     */
    OaHumanRecruitVo queryById(String id);

    /**
     * 查询招聘申请列表
     */
    TableDataInfo<OaHumanRecruitVo> queryPageList(OaHumanRecruitBo bo, PageQuery pageQuery);

    /**
     * 查询招聘申请列表
     */
    List<OaHumanRecruitVo> queryList(OaHumanRecruitBo bo);

    /**
     * 新增招聘申请
     */
    OaHumanRecruitBo insertByBo(OaHumanRecruitBo bo);

    /**
     * 修改招聘申请
     */
    OaHumanRecruit updateByBo(OaHumanRecruitBo bo);

    /**
     * 校验并批量删除招聘申请信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);
}
